package com.dhf.framework.web.service;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dhf.framework.base.mybatis.core.dao.GenericDao;
import com.dhf.framework.base.mybatis.core.service.GenericService;
import com.dhf.framework.web.dao.PersonDao;
import com.dhf.framework.web.entity.Person;

/**
 * 描述：</b>房产拥有者数据库信息的Service类<br>
 * @author：
 * @version:1.0
 */
@Service
public class PersonService extends GenericService<Person, Long>{
	
	public final Logger    logger  = LoggerFactory.getLogger( this.getClass() );

	@Autowired
	private PersonDao personDao;

    //获得操作房产证数据库的方法
    @Override
    public GenericDao<Person, Long> getMyBatisGenericDao() {
        return personDao;
    }
}

